{include file=header.html}
<script type="text/javascript" language="javascript" src="{lib file=jquery-1.6.3.min.js}"></script>
<script language="javascript" type="text/javascript" src="{lib file=jquery.ui/jquery.ui.js}"></script>
<script language="javascript" type="text/javascript" src="{res file=js/jquery.funkyUI.js}"></script>
<script language="javascript" type="text/javascript" src="{lib file=jquery.plugins/jquery.validate.js}"></script>
<script language="javascript" type="text/javascript" src="{res file=js/common.js}"></script>
<style type="text/css">
input {
	vertical-align: -5px;_vertical-align: -1px;margin-right: 5px
}
</style>
<body>
<div class="sub-body">
<div class="tab-frame" style="width:900px;">
<div class="tab-title-1">
<span>{$lang.assign_factory_quote}</span>
</div>
<form id="assignform" action="" method="post">
	<table width="100%" cellspacing="0" cellpadding="0" class="tab-display">
		<tr>
                <th align="right">
                    {$lang.sel_factory}:&nbsp;&nbsp;</th>
                <td align="left">
                <div id="factory_assign">
					<!-- {foreach from=$factory_list item=factory name=fq} -->
						<input name="factory_quote_id[]" type="checkbox" value="{$factory.factory_id}" <!-- {if in_array($factory.factory_id,explode(',',$factory_arr_id))} -->checked="checked"<!-- {/if} --> />&nbsp;{$factory.factory_name}&nbsp;
						<!-- {if ($smarty.foreach.fq.iteration)%10==0} -->
						<br/>
						<!-- {/if} -->
					<!-- {/foreach} -->
				</div>
				</td>
        </tr>
        <tr>
            <th></th>
            <td align="left">
                <input class="btn-2" type="submit" name="Submit" value="{$lang.submit}" />&nbsp;&nbsp;
                <input class="btn-2" type="reset" name="reset" value="{$lang.reset}" />
                <input type="button" class="btn-2" value="返回" onclick="history.back();" /></td>
        </tr>
	</table>
</form>
</div>
</div>
</body>
</html>